package com.ruoyi.system.api;




import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;

import com.ruoyi.system.api.factory.RemoteProdFactory;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;


/**
 * 用户服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "RemoteProdService", value = ServiceNameConstants.SYSTEM_PROD, fallbackFactory = RemoteProdFactory.class)
public interface RemoteProdService
{


    @GetMapping("/prod/synMysql")
    public AjaxResult synMysql();



//    @GetMapping("/prod/ProdListFromEs")
//    public TableDataInfo ProdListFromEs(HttpServletRequest request, EsProd esProd);


}
